package org.monster.context.core;

import java.io.File;

/**
 * @author Monster
 */
public class Constants {

    /**
     * 用户工作目录
     */
    public static final String APPLICATION_PATH = System.getProperty("user.dir");

    /**
     * 方法dos
     */
    public static final String METHOD_DOS = "DOS";

    /**
     * 方法get
     */
    public static final String METHOD_GET = "GET";

    /**
     * 方法post
     */
    public static final String METHOD_POST = "POST";

    /**
     * 源
     */
    public static final String SOURCE_SRC = "src";

    /**
     * 类库
     */
    public static final String SOURCE_LIB = "lib";

    /**
     * 构建
     */
    public static final String BUILD = "build";

    /**
     * 网应用
     */
    public static final String WEB_APPS = "webapps";

    /**
     * 配置
     */
    public static final String CONF = "conf";

    /**
     * 网安全目录
     */
    public static final String WEB_INF = "WEB-INF";

    /**
     * 字节码
     */
    public static final String CLASSESS = "classes";

    /**
     * 网内容
     */
    public static final String WEB_CONTENT = "WebContent";

    /**
     * 网xml
     */
    public static final String WEB_XML_FILE = "web.xml";

    /**
     * 网应用路径
     */
    public static final String APPS_PATH = APPLICATION_PATH + File.separator + WEB_APPS + File.separator;

    /**
     * 编译路径
     */
    public static final String COMPILE_PATH = File.separator + BUILD + File.separator + CLASSESS + File.separator;

    /**
     * 网页内容路径
     */
    public static final String XML_PATH = WEB_CONTENT + File.separator + WEB_INF + File.separator;

    /**
     * 网安全目录路径
     */
    public static final String XML_PATH_2 = WEB_INF + File.separator;

    /**
     * 网配置路径
     */
    public static final String CONFIG_PATH = APPLICATION_PATH + File.separator + CONF + File.separator;

    /**
     * 多媒体互联网格式xml
     */
    private static final String MIME_XML = "mime.xml";

    /**
     * 多媒体互联网格式路径
     */
    public static final String MIME_PATH = Constants.CONFIG_PATH + MIME_XML;

    /**
     * 构造方法
     */
    private Constants() {
    }
}
